package org.xelnaga.defiler.web.controller.contentlet;

import java.io.Serializable;

import org.springframework.web.multipart.MultipartFile;
import org.xelnaga.defiler.domain.ContentletModel;

/** 
 * ContentletForm holds a ContentletModel that is used to collect 
 * the data posted by the end user.
 */
public class ContentletForm implements Serializable {
    static final private long serialVersionUID = 1L;

    private ContentletModel contentlet = new ContentletModel();
    private MultipartFile coverFileAsset;//默认封面图
    private MultipartFile iconFileAsset;//icon图
    private MultipartFile flashUploadFiles;//编辑内容时上传的文件。
    public void setContentlet (ContentletModel contentlet) {
        this.contentlet = contentlet;
    }    

    public ContentletModel getContentlet () {
        return contentlet;
    }

	public MultipartFile getCoverFileAsset() {
		return coverFileAsset;
	}

	public void setCoverFileAsset(MultipartFile coverFileAsset) {
		this.coverFileAsset = coverFileAsset;
	}

	public MultipartFile getIconFileAsset() {
		return iconFileAsset;
	}

	public void setIconFileAsset(MultipartFile iconFileAsset) {
		this.iconFileAsset = iconFileAsset;
	}

	public MultipartFile getFlashUploadFiles() {
		return flashUploadFiles;
	}

	public void setFlashUploadFiles(MultipartFile flashUploadFiles) {
		this.flashUploadFiles = flashUploadFiles;
	}
    
    
}